export const permissionCodeMap = {
  // 用户管理
  userManage: 'userManage',
  userAdd: 'userAdd',
  userEdit: 'userEdit',
  userDel: 'userDel',
  userView: 'userView',
  userResetPwd: 'userResetPwd',
  // 角色管理
  roleAdd: 'roleAdd',
  roleEdit: 'roleEdit',
  roleDel: 'roleDel',
  roleView: 'roleView',
  // 权限管理
  authorityAdd: 'authorityAdd',
  authorityEdit: 'authorityEdit',
  authorityDel: 'authorityDel',
  // 操作日志
  logView: 'logView',
  // 渠道管理
  channelView: 'channelView',
  channelEdit: 'channelEdit',
  channelBatchLink: 'channelBatchLink',
  channelBrandConfiguration: 'channelBrandConfiguration', // 品牌配置
  channelPackageConfiguration: 'channelPackageConfiguration', // 套餐配置
  // BPai分享管理
  shareView: 'shareView',
  shareAdd: 'shareAdd',
  shareEdit: 'shareEdit',
  shareExport: 'shareExport',
  shareStatus: 'shareStatus',
  // BPai用户中心
  bpaiUserEdit: 'bpaiUserEdit',
  bpaiOrderEdit: 'bpaiOrderEdit',
  // BPai渠道
  bpaiChannelEdit: 'bpaiChannelEdit',
  bpaiChannelExport: 'bpaiChannelExport',
  bpaiChannelBrand: 'bpaiChannelBrand',
  bpaiChannelSale: 'bpaiChannelSale',
  // 企业管理
  companyStatus: 'companyStatus',
  companyEdit: 'companyEdit',
  companyExport: 'companyExport',
  // 租户管理
  tenantAdd: 'tenantAdd',
  tenantBatchAdd: 'tenantBatchAdd',
  tenantEdit: 'tenantEdit',
  tenantDel: 'tenantDelCancel', // 暂时取消删除功能
  tenantView: 'tenantView',
  tenantLogin: 'tenantLogin',
  tenantAuth: 'tenantAuth',
  // 租户用户管理
  tenantUserAdd: 'tenantUserAdd',
  tenantUserDel: 'tenantUserDel',
  tenantUserStatus: 'tenantUserStatus',
  tenantUserAuth: 'tenantUserAuth',
  // 部署任务
  deployTaskAdd: 'deployTaskAdd',
  deployTaskBack: 'deployTaskBack',
  // 命名空间
  namespaceViewYaml: 'namespaceViewYaml',
  // 工作负载
  workloadViewYaml: 'workloadViewYaml',
  // 应用管理
  applicationManageAdd: 'applicationManageAdd',
  applicationManageEdit: 'applicationManageEdit',
  // 部署管理
  deployManageAdd: 'deployManageAdd',
  deployManageEdit: 'deployManageEdit',
  deployManageDel: 'deployManageDel',
  deployManageView: 'deployManageView',
  // 商品中心
  goodsView: 'goodsView',
  goodsAdd: 'goodsAdd',
  goodsEdit: 'goodsEdit',
  goodsDel: 'goodsDel',
  packageView: 'packageView',
  packageAdd: 'packageAdd',
  packageEdit: 'packageEdit',
  packageDel: 'packageDel',
  orderView: 'orderView',
  orderAdd: 'orderAdd',
  orderEdit: 'orderEdit',
  genFormalOrder: 'genFormalOrder',
  orderExport: 'orderExport',
  exportStatement: 'exportStatement',
  orderCancel: 'orderCancel',
  // 统计分析
  statisticExport: 'statisticExport'
}

// 应用服务授权code
export const authCodeMap = {
  interfaceOn: '1580382812197494784', // 接口开放
  writeOff: '1580039484260196354', // 销项
  income: '1580039484260196355' // 进项
}
